<%@ page language="java" pageEncoding="UTF-8"%><%request.setAttribute("ctx", request.getContextPath()); %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<%@ include file="/pub/frontHead.jsp" %>
</head>
<body>    
<%@ include file="slice/topMenu.jsp"%>
    <div class="center">
<%@ include file="slice/login.jsp"%>
       	<div class="ct_detail clearfix">
<%@ include file="slice/detail.jsp"%>       	
       		<div class="clear"></div>
            <div class="float_lf ct_detail_wd">
<%@ include file="slice/comment.jsp"%>    
<%@ include file="slice/guess.jsp"%>       
            </div>
            <div class="float_rg">
<%@ include file="slice/recommand.jsp"%>
<%@ include file="slice/knowledge.jsp"%>
            </div>
		</div>
<%@ include file="slice/banner.jsp"%>
	</div>
<%@ include file="slice/footer.jsp"%>
<%@ include file="slice/myFavorite.jsp"%>

<script type="text/javascript" src="${ctx}/front/js/ybxJs.js"></script>
<script type="text/javascript">
<!--
$("#detailMore").click(function(){
	var mainDiv = $("#detailContext");
	var inner = "";
	var tag = mainDiv.attr("key");
	if(tag == "close"){
		mainDiv.css("height","auto");
		inner = "收起<b class='ct_detail_back'></b>"
		mainDiv.attr("key","open");
	}else{
		mainDiv.css("height","150px");	
		inner = "展开<b></b>";
		mainDiv.attr("key","close");
	}
	$(this).html(inner);
	
});
$("#detailFace").hover(function(){
	$(this).find("span").addClass("ct_detail_face_box");
	$(this).find(".ct_detail_faces_list").show();
	
},function(){
	$(this).find("span").removeClass("ct_detail_face_box");	
	$(this).find(".ct_detail_faces_list").hide();
});

//初始化后自动执行
$(document).ready(function(e) {
	//自动登录
	checkToken();
	setLoginView(true);
	//读取回复
	doCmtQuery();	
	//读取猜你喜欢
	doGuessQuery();
	//读取同类推荐
	doRecQuery();
	//查询资讯列表
	doMsgQuery();
});

//进入明细
function goDetail(goodsId){
	location.href="${ctx}/front!goDetail.action?goodsId="+goodsId;
}
//-->
</script>
</body>
</html>